#list map
mylist := list clone
mylist append("item a")
mylist = list("item b", "item c")
mylist println
list type println
List slotNames println
mylist pop println
List getSlot("select") println

mymap := Map clone
mymap atPut("name", "tzp")
mymap atPut("sex", "nan")
mymap at("name") println
PD := mymap asObject
PD type println
"-------------------" println
#数值 bool 字符串
#查看true和false里面全是黑科技。。
3 type println
< type println
Number slotNames println
Object getSlot("<") type #CFunction
Number getSlot("<") println #result is Object_<()
true proto
"i m a string" type println
Sequence slotNames sort println
#1 + "string"  #Exception
1.."a"
true clone #true false nil 都是单例， 重写了clone
#控制结构
i := 0
while(i<=11,i =i + 1); "this is a while" println
i println
#可选参数的陷阱
for(i,1,2,1,i println,"extra argument")
for(i,1,2,i println,"extra argument")
if(true,"its true" println,"its false" println)
if(true) then("its true" println) else ("its false" println)
Object getSlot("if") println
if(true,"Xtrue" println, "Xfalse" println)
